package forms;

import java.io.InputStream;

import org.apache.struts.upload.FormFile;

public class degreecollection {

	private String stuState = null;
	private String school = null;
	private String discp = null;
	private String dmonth = null;
	private String dyear = null;
	private String gpa = null;
	private String title = null;
	private String fileName = null;
	private InputStream myFile = null;
	private int fileSize = 0;
	private String contentType = null;
	
	public degreecollection(){
		
	}
	
	public degreecollection( String stuState, String school, String discp, String dmonth, String dyear, String gpa, String title, 
			String fileName, InputStream myFile, int fileSize){
		this.stuState = stuState;
		this.school = school;
		this.discp = discp;
		this.dmonth = dmonth;
		this.dyear = dyear;
		this.gpa = gpa;
		this.title = title;
		this.fileName = fileName;
		this.myFile = myFile;
		this.fileSize = fileSize;
		this.contentType = contentType;
	}

	public String getContentType() {
		return contentType;
	}

	public void setContentType(String contentType) {
		this.contentType = contentType;
		System.out.println("-*-*-*-* content = " + contentType);
	}

	public String getStuState() {
		return stuState;
	}

	public void setStuState(String stuState) {
		this.stuState = stuState;
	}

	public String getSchool() {
		return school;
	}

	public void setSchool(String school) {
		this.school = school;
	}

	public String getDiscp() {
		return discp;
	}

	public void setDiscp(String discp) {
		this.discp = discp;
	}

	public String getDmonth() {
		return dmonth;
	}

	public void setDmonth(String dmonth) {
		this.dmonth = dmonth;
	}

	public String getDyear() {
		return dyear;
	}

	public void setDyear(String dyear) {
		this.dyear = dyear;
	}

	public String getGpa() {
		return gpa;
	}

	public void setGpa(String gpa) {
		this.gpa = gpa;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public InputStream getMyFile() {
		return myFile;
	}

	public void setMyFile(InputStream myFile) {
		this.myFile = myFile;
	}

	public int getFileSize() {
		return fileSize;
	}

	public void setFileSize(int fileSize) {
		this.fileSize = fileSize;
	}
}
